package com.duowenlvshi.boot.mapper;

import com.duowenlvshi.boot.domain.User;

import java.util.List;

/**
 * @author hbin
 * @date 2020-03-08 16:04
 */

public interface UserMapper {

    void deleteByPrimaryKey(Long id);

    int insert(User user);

    User selectByPrimaryKey(Long id);

    List<User> selectAll();

    int updateByPrimaryKey(User user);

}
